import java.util.Scanner;
public class PlayLottery{
public static void main(String[]args){
Scanner input=new Scanner(System.in);
System.out.println("please enter a number");
int number=input.nextInt();
int a=number%10;
int b=(number-a)/10%10;
int c=number/100;
int a1=(int)(Math.random()*10);
int b1=(int)(Math.random()*10);
int c1=(int)(Math.random()*10);
int radommath=a1+b1*10+c1*100;
if(number==radommath)
 {
   System.out.println("You have win 300000 dollers");
 }
else if(a1==a)
     {
	  System.out.println("You have win 1000 dollers");
     }
     else if(b==b1)
	      {
		   System.out.println("You have win 1000 dollers");
	      }
		  else if (c==c1)
		      {
			  System.out.println("You have win 1000 dollers");
		      }
			  else System.out.println("You are wrong");
System.out.println(radommath + " / " + number);			  
}
}
			  